package main

import "time"

const (
	mvSpace = 0
	mvSnakeBody = 1
	mvSnakeHeadValue = 2
	mvFence = 3
	mvFoodApple = 4
)

var mvShowMap = map[int]string{
	mvSpace : " ",
	mvSnakeBody : "o",
	mvSnakeHeadValue : "O",
	mvFence : "#",
	mvFoodApple : "X",
}

var moveDirection = map[string]PointXY{
	"a":{0, -1},
	"s":{0, -1},
	"f":{0, 1},
	"e":{-1, 0},
	"d":{1, 0},
	"c":{1, 0},
}

var GAME_OVER_BOOL_FLAG = false

var GAME_START_TIME time.Time